<!DOCTYPE html>
<!--suppress ThymeleafVariablesResolveInspection -->
<html lang="en"  xmlns:th="http://www.thymeleaf.org">
<head>
    <meta name="viewport" content="width=device-width,initial-scale=1" />
    <meta charset="UTF-8">
    <title>Title</title>
    <link th:href="@{/local/css/login.css}" rel="stylesheet">
    <link  th:href="@{/local/css/page.css}"  rel="stylesheet">
</head>
<body>
<div id="top" th:include="top.html::top"></div>
<div id="middle">
    <div id="left" th:include="left.html::left"></div>
    <div id="right">

        <div id="msg" th:text="${msg}"></div>

        <table>
            <tr>
                <th>会员ID</th>
                <th>会员名称</th>
                <th>性别</th>
                <th>出生日期</th>
                <th>城市</th>
                <th>电话</th>
                <th>邮箱</th>
                <th>QQ</th>

                <th>积分</th>
                <th>操作</th>
            </tr>
            <tr th:each="user,stat:${usersListPage.list}" th:class="${stat.odd}?'bg2':''">
                <td th:text="${user.getUid()}"></td>
                <td th:text="${user.getUname()}"></td>
                <td th:text="${user.getUsex()}"></td>
                <td th:text="${#calendars.format(user.getUbirth(),'yyyy-MM-dd')}"></td>
                <td th:text="${user.getUcity()}"></td>
                <td th:text="${user.getUphone()}"></td>
                <td th:text="${user.getUemail()}"></td>
                <td th:text="${user.getUqq()}"></td>
                <td th:text="${user.getUcredit()}"></td>
                <td>
                    <a th:href="@{/admin/delUserById/} + ${user.getUid()}">删除</a>
                </td>
            </tr>
        </table>

        <div th:include="page.html::myPage(${usersListPage},users)"></div>
    </div>
</div>
<div id="bottom" th:include="bottom.html::bottom"></div>
</body>
</html>